# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-skia-pathops
pkgver=0.2.1
pkgrel=0
pkgdesc="Python bindings for the Skia library's Path Ops"
url="https://github.com/fonttools/skia-pathops"
arch="all !s390x !mips !mips64" # doesn't support big endian
license="BSD-3-Clause"
depends="python3 cython"
makedepends="python3-dev py3-setuptools"
options="!check" # missing deps: pytest-cython, pytest-randomly
source="https://files.pythonhosted.org/packages/source/s/skia-pathops/skia-pathops-$pkgver.zip"
builddir="$srcdir/skia-pathops-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="ed4deba9e6e3576cc4c550c0c0172b0780f1e8e1424f156e8ef893a62924fd91c16a3bf2e1598c3116a1a73958513339dce48a2978f86b27f285d6f0f50245eb  skia-pathops-0.2.1.zip"
